<template>
  <div>
    <div class="listBox" v-for="(item,index) of list" :key="index">
      <div class="listTit border-bottom">{{item.title}}</div>
      <div v-if="item.children">
        <detail-content :list="item.children"></detail-content>
      </div>
    </div>
  </div>
</template>
<script type='text/babel'>
export default {
  name: 'DetailContent',
  props: {
    list: {
      type: Array,
      default () {
        return []
      }
    }
  },
  data () {
    return {}
  },
  created () {},
  mounted () {},
  updated () {},
  activated () {},
  computed: {},
  methods: {},
  components: {}
}
</script>
<style scoped lang="scss" rel="stylesheet/scss">
  .listBox{
    padding: 0 10px;
    line-height:40px;
    background: #fff;
  }
</style>
